home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene 96
/
Scene 96 International Edition (Zyklop Software) (Disc 1) (1997).iso
/
intros
/
64k
/
revolt
/
sources
/
3engine.ext
< prev
next >
Wrap
Text File
|
1996-01-24
|
3KB
|
127 lines
; bitsort variables...
EXTRN widoczno₧ì :BYTE
EXTRN drawFacesVE :NEAR
EXTRN drawFacesVCE :NEAR
PUBLIC lightE
PUBLIC sumy_z
PUBLIC sort_adr
PUBLIC sort_prz
EXTRN make_lightE :NEAR
PUBLIC kolejno₧ì
PUBLIC bene
EXTRN _mem :NEAR
EXTRN _sort :NEAR
; vector variables...
EXTRN generate32env :NEAR
EXTRN gouraud :NEAR
EXTRN text :NEAR
IRPC roxi,<123>
PUBLIC gou_x&roxi
PUBLIC gou_y&roxi
PUBLIC delta&roxi
PUBLIC dC&roxi
PUBLIC gou_c&roxi
ENDM
EXTRN first_vertex :word
EXTRN second_vertex :word
EXTRN third_vertex :word
IRPC roxi,<123>
EXTRN x&roxi :word
EXTRN y&roxi :word
EXTRN xt&roxi :word
EXTRN yt&roxi :word
ENDM
EXTRN copyPoints :NEAR
EXTRN rotatety :NEAR
EXTRN rotatety2 :NEAR
PUBLIC inc_xxx
PUBLIC inc_yyy
PUBLIC inc_zzz
PUBLIC draw_where
PUBLIC number_f
PUBLIC number_p
PUBLIC adr_pixels
PUBLIC adr_versor
PUBLIC adr_colors
PUBLIC adr_faces
PUBLIC adr_points
PUBLIC poin2d
PUBLIC points
PUBLIC versory
EXTRN _sqrt :NEAR
EXTRN drawFacesV :NEAR
EXTRN drawFacesVC :NEAR
PUBLIC screen
PUBLIC tÆo
EXTRN d_x :WORD
EXTRN d_y :WORD
EXTRN zdelta :DWORD
; u₧rednione wersory normalne...
EXTRN calc_nor :NEAR
EXTRN make_light :NEAR
PUBLIC nor_to_faces
PUBLIC wersory
PUBLIC ilo₧ì_wer
; ºarówka :) making light
PUBLIC light
PUBLIC pal_pom2
; first must be:
draw_where dd offset screen
adr_versor dd offset versory
adr_points dd offset points
adr_colors dd offset colors
include gfx.ext
; bitsort variables...
max_n_of_faces EQU 3500 ;tutaj ilo₧ì max_faces
max_n_of_point EQU 3500
sumy_z dd max_n_of_faces DUP (?)
sort_adr dd 16 DUP (?)
sort_prz dd 16 DUP (?)
kolejno₧ì dw max_n_of_faces DUP (?)
; vector variables...
number_f dd ?
number_p dd ?
adr_pixels dd ?
adr_faces dd ?
poin2d dw max_n_of_point DUP (?,?)
points dw max_n_of_point DUP (?,?,?)
versory dw max_n_of_point DUP (?,?,?)
inc_xxx dd ? ;dod.do kåtu obrotu
inc_yyy dd ?
inc_zzz dd ?
IRPC roxi,<123>
gou_x&roxi dd ?
gou_y&roxi dd ?
ENDM
IRPC roxi,<123>
gou_c&roxi db ?
ENDM
IRPC roxi,<123>
delta&roxi dd ?
ENDM
IRPC roxi,<123>
dC&roxi dd ?
ENDM
; calculate normals variables...
nor_to_faces dw max_n_of_faces DUP (?,?,?)
wersory dw max_n_of_point DUP (?,?,?)
ilo₧ì_wer dd max_n_of_point DUP (?,?,?)
colors db max_n_of_faces DUP (?)
; light variables...
light db max_n_of_point DUP (?)
lightE dw max_n_of_point DUP (?,?)
db 128 DUP (?)
bene db 128*129 DUP (?) ;enviroment'y
; screen variables...
pal_pom2 db 768 DUP (?)
screen db 64000 DUP (?)
tÆo db 64000 DUP (?)